﻿#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void func0() {
	char array[] = "abcdefg";
	printf("%d\n", sizeof(array));
	const char * p= "abcdefg";
	printf("%d\n", sizeof(p));
}
void func1(char p[10])
{
	printf("%d\n", sizeof(p));
}
void func2(char (&p)[10])
{
	printf("%d\n", sizeof(p));
}
int main()
{
	char p[10] = "hello";
	func0();
	func1(p);
	func2(p);
	printf("%d\n", sizeof(char[2]));
	printf("%d\n", sizeof(char &));
	return 0;
} 